FROM frolvlad/alpine-oraclejdk8:slim

# 设置时区 亚太/上海
RUN echo "Asia/Shanghai" > /etc/timezone
ENV TZ "Asia/Shanghai"

VOLUME ["/attach","/tmp"]

ADD eureka-server-0.0.1-SNAPSHOT.jar app.jar
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"]
EXPOSE 8761